home *** CD-ROM | disk | FTP | other *** search
- Globals:
- picwidth 320 # Image dimensions: 320x240
- picheight 240
- backgroundcolor 0 0 0 # Red=0, green=0, blue=0 => black
- :end
-
- Sphere:
- centre 0 0 2 # Place the sphere in x=0, y=0, z=2
- radius 2 # ...and it will have a radius of 2 units
- :end
-
- Light:
- location 3 -8 4 # A light-source at x=3, y=-8, z=4
- color 1 1 1 # Red=1.0, green=1.0, blue=1.0 => white
- :end
-
- Camera:
- location -1 -9 2 # Place the camera in x=-1, y=-9, z=2
- viewpoint 0 0 2 # Look at x=0, y=0, z=2
- :end
-